Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rework build process #19

Open
wants to merge 5 commits into
base: main
Choose a base branch
from

Conversation

CGNonofr
Copy link

The Goal of this PR is fix those issues:

  • The library only exports the code in UMD format
  • When using it in the browser, the code contains references to fs and path directly and also includes the node version of tensorflow that imports crypto)

What the PR does:

  • It replaces webpack with rollup to be able to output ESM
  • it exports 3 formats:
    • The current node UMD format for backward compability (with same format/terser configuration/sourcemap)
    • A new node ESM format
    • A new browser ESM format

@CGNonofr
Copy link
Author

CGNonofr commented Mar 6, 2024

Is there anything I can do to help moving forward on it?

@CGNonofr CGNonofr force-pushed the rework-build-process branch from 7cd5320 to 7b3c7bb Compare April 15, 2024 16:57
@CGNonofr
Copy link
Author

CGNonofr commented Jun 5, 2024

up?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant